projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3143a34
)
Fix compilation warning: Use G_POINTER_TO_UINT
author
Javier Jardón
<jjardon@gnome.org>
Mon, 9 Nov 2009 04:48:45 +0000
(
05:48
+0100)
committer
Javier Jardón
<jjardon@gnome.org>
Mon, 9 Nov 2009 20:18:22 +0000
(21:18 +0100)
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit
e4194cb055e44f8a1bd2ab666ead9fa040bcdb89
solved this
problem.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index ffd9d8a9b6f5f04e6fb5ce59bcf7c4bee1e58f58..5fed54bfce8cfc258a1486bb9c0a6d6f87d7271c 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-5315,7
+5315,7
@@
send_client_message_to_embedded_windows (GtkWidget *widget,
while (embedded_windows)
{
- GdkNativeWindow xid =
(GdkNativeWindow) embedded_windows->data
;
+ GdkNativeWindow xid =
GPOINTER_TO_UINT (embedded_windows->data)
;
gdk_event_send_client_message_for_display (gtk_widget_get_display (widget), send_event, xid);
embedded_windows = embedded_windows->next;
}